<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>知了博客</title>
    <link rel="stylesheet" , href="{% static 'bootstrap5/bootstrap.min.css' %}">
    <script src="{% static 'bootstrap5/popper.min.js' %}"></script>
    <script src="{% static 'bootstrap5/bootstrap.min.js' %}"></script>
    <link rel="stylesheet" , href="{% static 'css/background.css' %}">
</head>

<body>
    <header class="p-3 text-bg-light border-bottom mb-2">
        <div class="container">
            <div class="d-flex flex-wrap align-items-center justify-content-center justify-content-lg-start">
                <a href="/" class="d-flex align-items-center mb-2 mb-lg-0 text-white text-decoration-none">
                    <img src="{% static 'images/yuan.jpg' %}" alt="加载不了" height="40">
                    <use xlink:href="#bootstrap"></use></svg>
                </a>

                <ul class="nav col-12 col-lg-auto me-lg-auto mb-2 justify-content-center mb-md-0">
                    <li><a href="#" class="nav-link px-2 text-secondary">首页</a></li>
                    <li><a href="#" class="nav-link px-2 text-secondary">发布博客</a></li>
                </ul>

                <form class="col-12 col-lg-auto mb-3 mb-lg-0 me-lg-3" role="search">
                    <input type="search" class="form-control form-control-dark text-bg-light" placeholder="搜索..."
                        aria-label="Search">
                </form>

                <div class="text-end">
                    <button type="button" class="btn btn-outline-primary me-2">登录</button>
                    <button type="button" class="btn btn-primary">注册</button>
                </div>
            </div>
        </div>
    </header>
    <main class="container bg-white rounded-3">
        <div style="max-width: 330px;" class="m-auto">
            <h1>登录</h1>
            <form action="" method="post">
                <div class="mb-3">
                    <label>邮箱</label>
                    <input type="text" name="email" class="form-control" placeholder="邮箱">
                </div>
                <div class="mb-3">
                    <label>邮箱</label>
                    <input type="password" name="password" class="form-control" placeholder="密码">
                </div>
                <div class="form-check">
                    <input class="form-check-input" name="remember" type="checkbox" value="1" id="flexCheckDefault">
                    <label class="form-check-label" for="flexCheckDefault">
                        记住我
                    </label>
                </div>
                <div class="mb-3">
                    <button class="btn btn-primary mb-3 w-100">立即登录</button>
                </div>
            </form>
        </div>
    </main>
</body>

</html>